/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package pojo;

/**
 *
 * @author MIRO
 */
public class UserHasMobileId {
    private int userId;
    private int mobileId;

    public UserHasMobileId(int userId, int mobileId) {
        this.userId = userId;
        this.mobileId = mobileId;
        System.out.println(this);
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getMobileId() {
        return mobileId;
    }

    public void setMobileId(int mobileId) {
        this.mobileId = mobileId;
    }

    @Override
    public String toString() {
        return "UserHasMobileId{" + "userId=" + userId + ", mobileId=" + mobileId + '}';
    }
    
}
